package com.platform.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.system.entity.SysRoleExclude;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * describe:
 *
 * @author rainly
 * @date 2020/4/18
 * @time 5:47 下午
 */
public interface SysRoleExcludeMapper extends BaseMapper<SysRoleExclude> {

    /**
     * 根据角色id查询与之互斥的角色id
     *
     * @param roleId 角色Id
     * @return
     */
    List<SysRoleExclude> selectExcludeRoleId(@Param(value = "roleId") String roleId);

}
